from App import create_app
from flask_script import Manager

app = create_app()

if __name__ == "__main__":
    # 修改静态资源不需要重启
    app.jinja_env.auto_reload = True
    # 修改模板不需要重启
    app.templates_auto_reload = True
    app.config["SECRET_KEY"] = 'TPmi4aLWRbyVq8zu9v82dWYW1'
    app.run(debug=True, port=9111)
